<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/include.inc.jsp"%>


<div class="pageContent">
<form method="post" id="subform" action="${ctx}/pubTable/treeSave" class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone);">
	<input type="hidden" name="id" value="${pubTable.id}"/>
	<input type="hidden" name="parentId" value="${pubTable.parentId}"/>
	<input type="hidden" name="tableName" value="${pubTable.tableName}"/>
	<div class="panelBar">
		<ul class="toolBar">
			<shiro:hasPermission name="${pubTable.tableName}:add">
			<li><a class="add" href="#" onclick="hrefPubTreeAdd_OnClick('${ctx}/pubTable/treeEdit','pId${pubTable.tableName}','${pubTable.tableName}','jbsxBox')"><span>添加</span></a></li>
			</shiro:hasPermission>
			<shiro:hasPermission name="${pubTable.tableName}:edit">
			<li><a class="save" href="#" onclick="hrefSave_OnClick('subform')"><span>保存</span></a></li>
			</shiro:hasPermission>
			<shiro:hasPermission name="${pubTable.tableName}:del">
			<li><a class="delete" href="#" onclick="hrefOneDelPub_OnClick('${ctx}/pubTable/treeDel','${pubTable.id}','${pubTable.tableName}')"  title="确定要删除吗?"><span>删除</span></a></li>
			</shiro:hasPermission>
		</ul>
	</div>
		<div class="pageFormContent nowrap" layoutH="56">
			
			<dl>
				<dt>名称：</dt>
				<dd>
					<input type="text" name="name" value="${pubTable.name}" maxlength="20" class="required"/>
				</dd>
			</dl>
			<dl>
				<dt>编码：</dt>
				<dd>
					<input type="text" name="codeValue" value="${pubTable.codeValue}" maxlength="20" class="required"/>
				</dd>
			</dl>
			<dl>
				<dt>顺序：</dt>
				<dd>
					<input type="text" name="showOrder" value="${pubTable.showOrder}"/>
				</dd>
			</dl>
			
		</div>
		
	</form>
</div>
